﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace AdminUserLibrary
{
    [ServiceContract]
    public interface IAdminUserService
    {
        [OperationContract]
        bool AddUser(string email, string question, string answer);
        
        [OperationContract]
        bool AddUserParentField(string email, string parentfieldtitle, string category = "VARIOUS");
        
        [OperationContract]
        bool RemoveUser(string email);

        [OperationContract]
        bool RemoveUserParentField(string email, string parentfieldtitle, string category = "ALL");

        [OperationContract]
        bool RemoveUserChildField(string email, string fieldtitle, string category = "ALL");
    }
}
